//
//  HomeAddModuleCell.h
//  ZhuoxinAgriculture
//
//  Created by stone on 16/12/4.
//  Copyright © 2016年 stone. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DBModel.h"
#import "HomeAddModuleModel.h"

@protocol HomeAddModuleCellDelegate <NSObject>

- (void)deleteItem:(NSIndexPath *)indexPath;

@end

@interface HomeAddModuleCell : UICollectionViewCell
/** DBModel */
@property (nonatomic,strong) DBModel * model;
/** NSIndexPath */
@property (nonatomic,strong) NSIndexPath * indexPath;
/** delegate */
@property (weak, nonatomic) id<HomeAddModuleCellDelegate> delegate;
/** block */
//@property(nonatomic, copy) void (^deleteBlock)();

- (void)config:(DBModel *)model indexPath:(NSIndexPath *)indexPath;

/** HomeAddModuleNoHomeconfigdomain */
@property (nonatomic,strong) HomeAddModuleHomeconfigdomain * homeAddModuleHomeconfigdomain;

- (void)configDomain:(HomeAddModuleHomeconfigdomain *)domain indexPath:(NSIndexPath *)indexPath;

@end
